org.jbpm.model.definition
Class EventType

java.lang.Object
  extended byorg.jbpm.util.lang.Enumerated
      extended byorg.jbpm.model.definition.EventType
All Implemented Interfaces:
java.io.Serializable

public class EventType
extends org.jbpm.util.lang.Enumerated
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
static EventType DECISION_ENTER
          is defined on a decision element and marks the event when execution arrives in a decision, before the DecisionHandler is invoked.
static EventType DECISION_LEAVE
          is defined on a decision element and marks the event when execution arrives in a decision, after the DecisionHandler is invoked.
static EventType FORK_ENTER
          is defined on a fork element and marks the event when execution arrives in a fork, before any of the child-tokens are spawned.
static EventType FORK_EVERY_LEAVE
          is defined on a fork element and marks every event when a child-token is being spawned in a fork.
static EventType JOIN_EVERY_ENTER
          is defined on a join element and marks every event when execution arrives in a join.
static EventType JOIN_LEAVE
          is defined on a join element and marks the event when synchronization is done and execution continues.
static EventType MILESTONE_ENTER
          is defined on a milestone element and marks the event when a execution arrives at the milestone.
static EventType MILESTONE_LEAVE
          is defined on a milestone element and marks the event when the milestone node is left.
static EventType PROCESS_END
          is defined on a process-definition element and marks the end of a process instance.
static EventType PROCESS_START
          is defined on a process-definition element and marks the start of a process instance.
static EventType PROCESS_STATE_ENTER
          is defined on a process-state element and marks every event when execution arrives in a process-state.
static EventType PROCESS_STATE_LEAVE
          is defined on a process-state element and marks every event when the subprocess finishes and the superprocess continues.
static EventType STATE_AFTER_ASSIGNMENT
          is defined on a state element and marks the event when a execution arrives at the state, after the assignment has been done.
static EventType STATE_ENTER
          is defined on a state element and marks the event when a execution arrives at the state.
static EventType STATE_LEAVE
          is defined on a state element and marks the event when an external trigger ( given with org.jbpm.ExecutionService#endOfState(String, Long, Map, String) ) makes the execution leave the state.
static EventType TRANSITION
          is defined on a transition element and marks the event when execution traverses a transition.
 
Fields inherited from class org.jbpm.util.lang.Enumerated
id
 
Constructor Summary
EventType()
           
 
Methods inherited from class org.jbpm.util.lang.Enumerated
findById, getId, readResolve, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PROCESS_START

public static final EventType PROCESS_START
is defined on a process-definition element and marks the start of a process instance.


PROCESS_END

public static final EventType PROCESS_END
is defined on a process-definition element and marks the end of a process instance.


STATE_ENTER

public static final EventType STATE_ENTER
is defined on a state element and marks the event when a execution arrives at the state.


STATE_AFTER_ASSIGNMENT

public static final EventType STATE_AFTER_ASSIGNMENT
is defined on a state element and marks the event when a execution arrives at the state, after the assignment has been done.


STATE_LEAVE

public static final EventType STATE_LEAVE
is defined on a state element and marks the event when an external trigger ( given with org.jbpm.ExecutionService#endOfState(String, Long, Map, String) ) makes the execution leave the state.


MILESTONE_ENTER

public static final EventType MILESTONE_ENTER
is defined on a milestone element and marks the event when a execution arrives at the milestone.


MILESTONE_LEAVE

public static final EventType MILESTONE_LEAVE
is defined on a milestone element and marks the event when the milestone node is left. Leaving a milestone has 2 prerequisites : the node has to be reached (by a token) and the milestone has to be reached (normally in some other concurrent path of execution).


DECISION_ENTER

public static final EventType DECISION_ENTER
is defined on a decision element and marks the event when execution arrives in a decision, before the DecisionHandler is invoked.


DECISION_LEAVE

public static final EventType DECISION_LEAVE
is defined on a decision element and marks the event when execution arrives in a decision, after the DecisionHandler is invoked.


PROCESS_STATE_ENTER

public static final EventType PROCESS_STATE_ENTER
is defined on a process-state element and marks every event when execution arrives in a process-state.


PROCESS_STATE_LEAVE

public static final EventType PROCESS_STATE_LEAVE
is defined on a process-state element and marks every event when the subprocess finishes and the superprocess continues.


FORK_ENTER

public static final EventType FORK_ENTER
is defined on a fork element and marks the event when execution arrives in a fork, before any of the child-tokens are spawned.


FORK_EVERY_LEAVE

public static final EventType FORK_EVERY_LEAVE
is defined on a fork element and marks every event when a child-token is being spawned in a fork.


JOIN_EVERY_ENTER

public static final EventType JOIN_EVERY_ENTER
is defined on a join element and marks every event when execution arrives in a join.


JOIN_LEAVE

public static final EventType JOIN_LEAVE
is defined on a join element and marks the event when synchronization is done and execution continues.


TRANSITION

public static final EventType TRANSITION
is defined on a transition element and marks the event when execution traverses a transition.

Constructor Detail

EventType

public EventType()


Version : jbpm-2.0